<?php

namespace app\api\validate;

use think\Validate;

class Signup extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
		'name' => 'require|token',
        'mobile' => 'require|mobile',
		'group' => 'require',
		'pay_type' => 'require',
		'sign_type' => 'require',
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];


	protected  $field = [
		'name' => '姓名',
		'mobile' => '手机号',
		'group' => '分组',
		'pay_type' => '支付方式',
		'sign_type' => '参加方式',
	];
    /**
     * 验证场景
     */
    protected $scene = [
        'save'  => ['name','mobile','group','sign_type','pay_type'],
        'edit' => [],
    ];
    
}
